import api from './api.js'
import http from './http.js'
import { serialize } from './qs.js'
// export function checkOrder(order_sn,params){
//   http.get(api.checkOrder + order_sn,params) 
// }
const Request = { 
  getIndexBanner: (params) => {
    return http.get(api.getIndexBanner, params)
  },
  getNewArtical: (params) => {
    return http.get(api.getNewArtical, params)
  },
  getContentList: (params) => {
    
    return http.get(api.getContentList, params)
  },
  getListDetail: (params) => {
    return http.get(api.getListDetail, params)
  },

};




const request = Object.assign(Request);

module.exports = request;